home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / modemtxt.zip / OPGUIDPM.TXT < prev   
Text File  |  1990-01-25  |  31KB  |  679 lines

  1. What a Modem Does
  2. -----------------
  3.  
  4. The way calls were made with older telephone systems illustrates
  5. how modems make connections. By talking the receiver off the
  6. hook, then turning a crank, you got an operator to come on the
  7. line. You told the operator the number you wanted, and waited
  8. for the call to be placed for you. Until the person on the other
  9. end picked up the receiver, you stayed connected to the
  10. operator. The operator generally reported the progress of the
  11. call, then gave the line to you to wait for the person on the
  12. other end to answer. Your modem, like the operator, responds to
  13. your commands to dial a number or answer a call, then gives the
  14. line to your computer to begin data communications when the
  15. connection is made.
  16.  
  17. Why You Need Communications Software
  18. ------------------------------------
  19.  
  20. Like telephones that store the numbers you frequently dial,
  21. communications software automates your connections. This can
  22. range from saving numbers in a "telephone book" so you don't
  23. have to look them up and enter them each time, to handling the
  24. complete process from dialing through file transfer.
  25.  
  26. You can use what is called "terminal emulation" software to
  27. issue modem commands that set up the modem and dial a number,
  28. but just as you make selections from within your word processor
  29. or spreadsheet software to use a printer, the easiest most
  30. effective way to use your modem is through communications
  31. software. Once you've made the connections to your computer and
  32. the telephone lines, you can almost forget the modem is there,
  33. and access its features through the software. In the same way
  34. you don't have to issue commands directly to the printer, you
  35. can simply reach for the printout, knowing that the software has
  36. taken care of everything. Your new modem will work with nearly
  37. any communications software designed for personal computers.
  38. Regardless of its level of sophistication, software is required
  39. to provide the link between your modem and the computer's
  40. keyboard.
  41.  
  42. If your software has a problem communicating with the modem,
  43. you'll know when you start the program or when you run the
  44. software's installation procedure. A message like "modem not
  45. responding", means the software is not recognizing the modem. If
  46. you've made the port selection with the software and still can't
  47. make a connection, you'll need to use the software to manually
  48. change some of the settings that control how the modem operates.
  49.  
  50. Most programs have an option for setting a modem
  51. "initialization" or "command" string to set the modem up to talk
  52. to the computer the way the software expects. The changes will
  53. probably involve the way the modem and the computer use the
  54. signals to talk to each other across the cable that connects
  55. them. Most programs that do not work with the modem's factory
  56. settings will operate properly if you change the way the modem
  57. uses the signal on the DCD and DTR line. For example, at the
  58. command line or window in which you adjust these settings,
  59. simply type AT&C1&D2, or add &D2&C1 to the string. If the string
  60. contains &K3, &F, or &W remove them. (These ampersand-letter-
  61. number combinations are modem AT commands.) The software will
  62. use the AT commands you put in this string each time it sets up
  63. the modem.
  64.  
  65. For software that requires additional modem setup, refer to the
  66. software manual for specific descriptions of the settings that
  67. frequently need to be adjusted are result code display (messages
  68. the modem send in response to commands), and local character
  69. echo (the way your commands are displayed on the screen). These
  70. and other options are easily specified with an initialization
  71. string, or with the AT Command Set described in the following
  72. pages. If your software requires more settings to be changed,
  73. check your software's user's guide, then refer to the sections
  74. that follow for the particular command option. With the setup
  75. string in place, you will be able to use your software to place
  76. and answer calls to go on-line with another computer without
  77. issuing the commands to setup the modem each time you start the
  78. program.
  79.  
  80. How to "Talk" to the Modem
  81. --------------------------
  82.  
  83. If you find it necessary to communicate directly to the modem to
  84. set it up or to initiate calls, you are probably using terminal
  85. emulation software. This means that the only function the
  86. software provides is linking your keyboard input directly to the
  87. modem. This would be like connecting your printer directly to
  88. your keyboard; what you type would appear on the screen, and be
  89. sent out to the printer.
  90.  
  91. Unless you have selected the option that some programs call
  92. "local mode" or "go local", communications software does not
  93. operate in this way. For certain uses, like determining whether
  94. there is a problem with your modem, the software, the line, or
  95. the other modem, this is a helpful way of talking to the modem.
  96. The next sections explain in detail how to setup your modem and
  97. initiate and answer calls using AT Commands once your software
  98. has linked your keyboard to the modem.
  99.  
  100. Issuing AT Commands
  101. -------------------
  102.  
  103. The Hayes Standard AT Command Set for intelligent modems is the
  104. language understood by most modems used with personal computers.
  105. AT commands can be used to set up the modem to suit the way your
  106. software and/or computer wants it to be configured. They can be
  107. used for dialing or answering. However, AT commands are not used
  108. to perform communications activities like sending a file. Once
  109. on-line, you'll be talking with another computer. The command to
  110. break the connection is probably the only instruction you would
  111. issue after going on-line.
  112.  
  113. AT Command Format
  114. -----------------
  115.  
  116. Modem commands begin with an AT prefix that gets the modem's
  117. attention (also tells the modem the speed and character format
  118. of the data coming from the computer). The AT prefix is followed
  119. by the command(s). The modem executes the command line when you
  120. press the key on your keyboard that you normally use to send
  121. commands. The command descriptions here show this key as <CR>,
  122. although it may be labeled on your keyboard as carriage return,
  123. Enter, or Return. For example, the command line ATV0<CR>
  124. gets the modem's attention and uses the V0 command option to
  125. tell the modem to display the responses to commands (result
  126. codes) as numbers rather than as words (the V1 option is the
  127. factory setting). The <CR> sends the command to the modem.
  128.  
  129. Many commands are used to select between two or more options.
  130. Numeric parameters indicate the form of the command you want to
  131. be in effect. If you issue a command without specifying a
  132. numeric parameter, the modem assumes the 0 command option. For
  133. example, Q tell the modem to respond to commands with result
  134. codes. Issuing Q1 tells the modem not to respond to result codes
  135. (some software programs call this "quiet mode"). Q and Q0 are
  136. equivalent.
  137.  
  138. A command line can contain as many as 40 characters (the AT,
  139. spaces, and the <CR> are not counted).  The command prefix can be
  140. entered in either all upper case or all lower case letters, but
  141. not in a combination (e.g., AT or at, but not At or aT).
  142.  
  143. If you need to change something in the line before entering the 
  144. <CR>, use the backspace key.  To abort the command line, hold down
  145. the key your computer recognizes as the control key (ctrl) and 
  146. press "x".  The modem will return OK without executing the 
  147. command(s) on the line.  
  148.  
  149. Moving Between Command and On-line States
  150. -----------------------------------------
  151.  
  152. Before beginning communications or after "hanging up," the modem 
  153. is in command state, ready to accept configuration commands or to 
  154. go on-line when you instruct it to dial the number of a remote 
  155. modem.  You may also place the modem in command state from the 
  156. on-line state without breaking the connection. 
  157.  
  158. Escape Sequence -- +++
  159. ----------------------
  160.  
  161. Not actually a command, the escape sequence tells the modem to 
  162. "escape" or leave the on-line state and enter the command state.
  163. The sequence consists of a single character issued three times in
  164. succession.  A one second "gua